package com.example.testproj.design.builder;

import android.util.Log;

import java.util.ArrayList;
import java.util.List;

public class Product {
    private static final String TAG = "qin";
    List<String> parts = new ArrayList<>();

    public void add(String part) {
        parts.add(part);
    }

    public void Show() {
        Log.d(TAG, "Show: 产品 创建 -----");
        for (String str : parts) {
            Log.d(TAG, str);
        }
    }
}
